package file;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

public class demo9 {
    public static void main(String[] args) throws IOException {
        try (Writer writer = new FileWriter("E:/桌面/代码库/java-ee/file/src/text.txt",true)){
            writer.write("hello world");
        }
    }
}
